.TH TIME2SEC 1 "9 July 2003" "WFDB 10.3.8" "WFDB Applications Guide"
.SH NAME
time2sec \- convert WFDB standard time format into seconds
.SH SYNOPSIS
\fBtime2sec\fR [ \fB-r\fR \fIrecord\fR ] \fItime\fR
.SH DESCRIPTION
This program converts the specified time interval, \fItime\fR (in WFDB
standard time format), into seconds.  Enclose TIME in square brackets
(e.g., [9:0:0]) to convert a time of day to the elapsed time in seconds
from the beginning of the (optionally) specified RECORD.
.SH ENVIRONMENT
.PP
It may be necessary to set and export the shell variable \fBWFDB\fR (see
\fBsetwfdb\fR(1)).
.SH FILES
.TP 22
\fIrecord\fR.hea
header file
.SH SEE ALSO
\fBsetwfdb\fR(1)
.SH AUTHOR
George B. Moody (george@mit.edu)
.SH SOURCE
http://www.physionet.org/physiotools/wfdb/app/time2sec.c
